package com.mapper;

import com.pojo.Car;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author xu
 * @Description
 * @Date 2022.2.23
 */
@Repository
public interface CarMapper {

    //按热度查询
    List<Car> selectAll(Integer cid);

    //按租金查询
    List<Car> findAll(Integer cid);
}
